#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Math.Statistics
{
    /// <summary> 
	/// ! This class computes the histogram of a given data set.  The caller can specify the number of bins, the breaks, or the algorithm for determining these quantities in computing the histogram.
	/// </summary>
    [Guid ("AB30A97D-A61F-413e-8C06-286DAEDFE3D0"),ComVisible(true)]
	public interface IHistogram 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 QL.Math.Statistics.Histogram.AlgorithmEnum Algorithm {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 Bins {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> Breaks {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 Counts(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 Boolean Empty {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Frequency(UInt64 i);
    }   

    /// <summary> 
	/// ! This class computes the histogram of a given data set.  The caller can specify the number of bins, the breaks, or the algorithm for determining these quantities in computing the histogram. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IHistogram_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IHistogram Create ();
    }
}

